<?php include_once($_SERVER['DOCUMENT_ROOT']."/controller/common/common_setting_unit.php"); ?>


<?php
$new_detail_nid=$_GET['nid'];

//设置需要搜索的表格的前缀后缀
$table_Suffix='link';
$table=$table_Prefix.$table_Suffix;
//设置需要搜索的表格的前缀后缀


$sql = " DELETE FROM $table WHERE nid=$new_detail_nid";
$query=mysql_query($sql) or die (mysql_error());
mysql_close($con);

echo 1;//表示成功


?>


